
#include "Rectangle.h"
#include <iostream>

Rectangle::Rectangle()
    : Shape()
{

}

Rectangle::Rectangle(const Rectangle& other)
    : Shape(other)
{

}

void Rectangle::Draw()
{
  std::cout << "一个<" << color_ << ">的矩形" << std::endl;
}

Shape* Rectangle::Clone()
{
  return new Rectangle(*this);
}
